package vcp.client.request;

import java.io.Serializable;

import vcp.enums.RequestType;
/**
 * <p> request abstract class </p> 
 * @author VCP team
 *
 */
public abstract class Request implements Serializable
{

	/**
	 * 
	 */
	private static final long serialVersionUID = - 159590668723999640L;

	private final RequestType request;
	/**
	 * getter
	 * @return request
	 */
	public RequestType getRequest ()
	{
		return this.request;
	}

	private long requestID;
	/**
	 * getter
	 * @return request id
	 */
	public long getRequestID ()
	{
		return this.requestID;
	}
	/**
	 * setter
	 * @param commandRequestNo
	 */
	public void setRequestID ( long commandRequestNo )
	{
		this.requestID = commandRequestNo;
	}
	/**
	 * constructor
	 * @param type
	 */
	protected Request ( RequestType type )
	{
		this.request = type;
	}

}
